<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta charset="utf-8" />
	<title>编辑</title>
	[#include "/admin/common/commonurl.html"]
	[#include "/admin/common/scripts.html"]

</head>
<body class="no-skin">
<div id="navbar" class="navbar navbar-default">
	[#include "/admin/common/navbar.html"]
	<!-- /.navbar-container -->
</div>
<div class="main-container" id="main-container">

	<div id="sidebar" class="sidebar                  responsive">
		[#include "/admin/common/shortcuts.html"]
		<!-- /.sidebar-shortcuts -->

		<!-- .nav-list -->
		[#include "/admin/common/commonmenu.html"]
		<ul class="nav nav-list">
			[@menustag id=1]
			[#list list as item]
			[@menu item "${menus!''}"]
			[/@menu]
			[/#list]
			[/@menustag]
		</ul>
		<!-- /.nav-list -->
		<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
			<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
		</div>
	</div>

	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<i class="ace-icon fa fa-home home-icon"></i> <a href="#">首页</a>
				</li>
				<li class="active">更新</li>
			</ul>
			<!-- /.breadcrumb -->

			<div class="nav-search" id="nav-search">
				<form class="form-search">
						<span class="input-icon">
							<input type="text" placeholder="搜索 ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
							<i class="ace-icon fa fa-search nav-search-icon"></i>
						</span>
				</form>
			</div>
			<!-- /.nav-search -->
		</div>

		<div class="page-content">
			[#include "/admin/common/page.html"]
			[#include "/admin/common/settings.html"]
			<div class="row">
				<div class="col-xs-12">
					<form role="form" method="post" class="form-horizontal" action="<#noparse>${siteurl}admin/</#noparse>${config_entity}/model_update.htm">
						<input type="hidden" name="id" value="<#noparse>${model.id}</#noparse>" />
						<input type="hidden" name="pageNumber" value="<#noparse>${page.pageNumber}</#noparse>" />
						<div class="form-group">
							<label for="name" class="col-sm-2 control-label">分类名称</label>
							<div class="col-sm-10">
								<input class="form-control" id="name" maxlength="20" name="name" placeholder="分类名称" value="<#noparse>${model.name!''}</#noparse>"   type="text">
							</div>
						</div>
						<div class="form-group">
							<label for="code" class="col-sm-2 control-label">分类编码</label>
							<div class="col-sm-10">
								<input class="form-control" id="code" maxlength="50" name="code" placeholder="分类编码" value="<#noparse>${model.code!''}</#noparse>"   type="text">
							</div>
						</div>
						<div class="clearfix form-actions">
							<div class="col-md-offset-3 col-md-9">
								<button type="submit" class="btn btn-info">
									<i class="ace-icon fa fa-check bigger-110"></i> 保存
								</button>
								<button type="reset" class="btn">
									<i class="ace-icon fa fa-undo bigger-110"></i> 重置
								</button>
							</div>
						</div>
						<div class="hr hr-24"></div>
					</form>


				</div>
			</div>


		</div>
	</div>
	<!-- /.main-content -->

	[#include "/admin/common/footer.html"]

</div>
<!-- /.main-container -->
<!-- basic scripts -->
</body>
</html>
